<!DOCTYPE html>
<html lang="" style="width: 100%; height: 100%;">
  <head >
      <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--    <meta name="viewport" content="width=device-width,initial-scale=1.0">-->
      <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
      <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <link rel="stylesheet" href="./but.css">
    <title>family</title>
      <script >
          //设置cookie
          function set1Cookie(cvalue) {
              var cname='familyvuegitee_background';
              var exdays=20;
              cvalue = 'https://cn.bing.com/'+cvalue;
              var d = new Date();
              d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
              var expires = "expires=" + d.toUTCString();
              console.info(cname + "=" + cvalue + "; " + expires);
              document.cookie = cname + "=" + cvalue + "; " + expires;
              console.info(document.cookie);
              // alert("设置cookie成功："+cvalue)
          }
      </script>
<!--    <script id="backid" src="http://d4.weather.com.cn/geong/v1/api?params={%22method%22:%22stationinfo%22,%22lat%22:40.22077,%22lng%22:116.23128,%22callback%22:%22getData%22}&callback=getData&_=1636855957767"></script>-->

      <style>
          /*document.getElementById('__vconsole').style.visibility="hidden";*/
          #__vconsole{
              visibility: hidden;
          }
      </style>

  </head>
  <body id="bodyid" style="/*  width: 100%;
                          height: 100%;
                          !* 以下是把图片尺寸适配到手机 *!
                          background-size:100% 100%;
                          background-attachment: fixed;
                          background-repeat: repeat;*/">
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->


<!--    <script>-->
<!--        function __coreCallback(v) {-->
<!--            alert(v)-->
<!--        }-->
<!--    </script>-->
<!--  <script src="http://i.tq121.com.cn/j/version.js?0.5821251788428854" ></script>-->
<!--&lt;!&ndash;    __coreCallback("20211109_150348");&ndash;&gt;-->

<!--<hr>-->
<!--  <button onclick="set1Cookie('th?id=OHR.ElTajo_EN-CN2859067222_768x1366.jpg')">点击设置cokkie</button>-->
  </body>


<script>
    //设置cookie
    function setCookie999(cvalue,type) {
        //如果是0就设置页面背景
        if (type==0) {
            var cname = 'familyvuegitee_background';
            var exdays = 20;
            cvalue = 'https://cn.bing.com/' + cvalue;
            var d = new Date();
            d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
            var expires = "expires=" + d.toUTCString();
            console.info(cname + "=" + cvalue + "; " + expires);
            document.cookie = cname + "=" + cvalue + "; " + expires;
        }else if (type==1){
            //如果是1就设置手机名称
            var cname = 'familyvuegitee_iphoneName';
            var exdays = 20;
            var d = new Date();
            d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
            var expires = "expires=" + d.toUTCString();
            console.info(cname + "=" + cvalue + "; " + expires);
            document.cookie = cname + "=" + cvalue + "; " + expires;
        }
    }

    //设置背景
    // setCookie('',0);
    //
    // //设置手机名称
    // setCookie('',1);

</script>
</html>







